package com.bytz.modules.cms.common.constants;

/**
 * 管理后台权限常量
 *
 * @author shanxuezhong
 */
public class AdminAuthConstants {


    /**
     * 订单流程规则设计管理权限(脚本管理)
     */
    public static class OrderDesignFlowRule {
        /**
         * 查看
         */
        public static final String VIEW = "cms:order_flow_rule:view";

        /**
         * 编辑
         */
        public static final String EDIT = "cms:order_flow_rule:edit";
    }

    /**
     * 订单流程规则设计测试用例管理权限
     */
    public static class OrderFlowRuleTestCase {
        /**
         * 查看
         */
        public static final String VIEW = "cms:order_flow_rule_test_case:view";

        /**
         * 编辑
         */
        public static final String EDIT = "cms:order_flow_rule_test_case:edit";
    }

    /**
     * 订单到货情况管理权限
     */
    public static class OrderArrival {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:order_arrival:edit";
    }

    /**
     * 订单相关管理权限
     */
    public static class Order {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:order:edit";
        /**
         * 查看全部订单权限
         */
        public static final String VIEW_ALL = "cms:order:view_all";
        /**
         * 查看查看全部提货列表
         */
        public static final String PICK_UP_VIEW_ALL = "cms:order_pick_up:view_all";
        /**
         * 导入历史订单权限
         */
        public static final String IMPORT = "cms:order:import";
        /**
         * 终止订单
         */
        public static final String TERMINATE = "cms:order:terminate";
    }

    /**
     * 汇款单管理权限
     */
    public static class OderOfflinePay {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:order_offline_pay:edit";
    }

    /**
     * 提货列表权限
     */
    public static class OderPickUp {
        /**
         * 编辑
         */
        public static final String VIEW = "cms:order_pick_up:view";
    }

    /**
     * 账单管理编辑权限
     */
    public static class OrderBill {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:order_bill:edit";
    }

    /**
     * 分类管理管理权限
     */
    public static class ProductDiscountCategory {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:product_discount_category:edit";
    }

    /**
     * 许可证清单管理权限
     */
    public static class ProductEcLicenceUser {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:product_ec_licence_user:edit";
    }

    /*
     * ec受控产品管理权限
     * */
    public static class EcProduct {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:ec_product:edit";
    }

    /*
     * 商品相关管理权限
     * */
    public static class Product {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:product:edit";
    }

    /*
     * 产品分类列表管理权限
     * */
    public static class ProductHierarchy {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:product_hierarchy:edit";
    }

    /*
     * 产品打包列表管理权限
     * */
    public static class ProductPack {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:product_pack:edit";
    }

    /*
     * 生产线管理编辑权限
     * */
    public static class ProductLine {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:product_line:edit";
    }


    /*
     * 等级管理编辑权限
     * */
    public static class ProductLineLevel {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:product_line_level:edit";
    }


    /*
     * 优惠券管理编辑权限
     * */
    public static class CouponReseller {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:coupon_reseller:edit";
    }

    /*
     * 终端用户管理编辑权限
     * */
    public static class EndUser {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:end_user:edit";
    }


    /*
     * 经销商管理编辑权限
     * */
    public static class Reseller {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:reseller:edit";
    }

    /*
     * ec审批管理编辑权限
     * */
    public static class EcAudit {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:ec_audit:edit";
    }

    /*
     *产品线等级优惠申请编辑权限
     * */
    public static class LineLevelChange {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:product_line_level:change:edit";
    }


    /*
     *分类优惠申请编辑权限
     * */
    public static class ProductCategoryChange {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:product:category:change:edit";
    }

    /*
     *商品基准价格变更申请编辑权限
     * */
    public static class ProductChange {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:product:change:edit";
    }

    /*
     *经销商等级变更申请编辑权限
     * */
    public static class ResellerChange {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:reseller_level:change:edit";
    }

    /*
     *经销商独享优惠申请编辑权限
     * */
    public static class ResellerProductChange {
        /**
         * 编辑
         */
        public static final String EDIT = "cms:reseller_product:change:edit";
    }
}
